package tool.workflow

import java.io.File
import akka.stream.Materializer
import command.CommandExec
import dao._
import models.Tables.MissionRow
import org.joda.time.DateTime
import play.api.i18n.Messages
import play.api.libs.ws.WSClient
import play.api.mvc.{AnyContent, Request}
import play.twirl.api.Html
import tool.Pojo._
import tool.Tool

/**
 * Created by yz on 11/9/2020
 */
object AllWorkflow {

  val workflows = List(DataPreprocessWorkflow, FeatureSelectionWorkflow)

  trait WorkflowBT {

    def getHtml(missionName: String, missionId: Option[Int] = None)(implicit request: Request[AnyContent],
                                                                    messages: Messages): Html

    def getResultHtml(missionId: Int)(implicit request: Request[AnyContent], messages: Messages): Html


  }


}
